package com.yulang.design_pattern_23.open_close;

public class DiscountJavaCourse extends JavaCourse {

    public Double getDiscountPrice(){
        return super.getPrice()*0.8;
    }

    public Double getOrginPrice(){
        return super.getPrice();
    }

}
